#pragma once
#include <d3dx9.h>

class Device;
class SpriteMgr
{
private:
	LPD3DXSPRITE pSprite;
public:
	SpriteMgr(Device* const d3d9);
	SpriteMgr();
	~SpriteMgr();

	void vRender(LPDIRECT3DTEXTURE9 Tex,RECT *rt,long StartX = 0,long StartY = 0);
	void vBegin();
	void vEnd();
};